load("@rules_cc//cc:cc_test.bzl", "cc_test")

cc_test(
    name = "config_info",
    srcs = [
        "config_info.cpp",
        "macro_value.hpp",
    ],
    deps = [
        "@boost.filesystem",
        "@boost.test",
    ],
)

cc_test(
    name = "convenience_test",
    srcs = ["convenience_test.cpp"],
    deps = [
        "@boost.filesystem",
        "@boost.test",
    ],
)

cc_test(
    name = "copy_test",
    srcs = ["copy_test.cpp"],
    deps = [
        "@boost.filesystem",
        "@boost.test",
    ],
)

cc_test(
    name = "operations_test",
    srcs = ["operations_test.cpp"],
    tags = ["manual"],  # this test won't run in the bazel runfiles directory
    deps = [
        "@boost.filesystem",
        "@boost.test",
    ],
)

cc_test(
    name = "locale_info",
    srcs = ["locale_info.cpp"],
    deps = [
        "@boost.filesystem",
        "@boost.test",
    ],
)

cc_test(
    name = "fstream_test",
    srcs = ["fstream_test.cpp"],
    deps = [
        "@boost.filesystem",
        "@boost.test",
    ],
)

cc_test(
    name = "path_test",
    srcs = ["path_test.cpp"],
    deps = [
        "@boost.filesystem",
        "@boost.test",
    ],
)

cc_test(
    name = "path_unit_test",
    srcs = [
        "path_unit_test.cpp",
        "test_codecvt.hpp",
    ],
    deps = [
        "@boost.filesystem",
        "@boost.test",
    ],
)
